$(document).ready(function(){
	var auth_panel1 = "";
	auth_panel1 += "<a href='https://loginza.ru/api/widget?token_url=http://ridersx.no-ip.biz/ufo/openid/example.php' id='loginza'><b>OpenID</b></a>";
	auth_panel1 += " или введите Логин <input type='text' name='login' maxlength='50' placeholder='Логин'/> и ";
	auth_panel1 += "Пароль <input type='password' name='password' placeholder='Пароль'/>";
	
	$('#auth_panel').toggle(
		/*function(){
			$('span#auth_html').html(auth_panel1);
			$('div.auth_panel').animate({height: '26px', padding: '20px'});
		},
		function(){
			$('div.auth_panel').css("display", "none").animate({height: '0px', padding: '0px'});
			
		}*/
		function(){
			$('div.auth_panel').slideDown();
		},
		function(){
			$('div.auth_panel').slideUp();
		}
	);
});